package com.blb;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @author lvtian
 * @date 2022/12/22 10:16
 */
@Qualifier("kingston")
@Component
public class KingStonMemory implements Memory{
    @Override
    public void read() {
        System.out.println("金士顿正在读...");
    }

    @Override
    public void write() {
        System.out.println("金士顿正在写...");
    }
}
